package com.lsh.airticket.service;

import com.github.pagehelper.PageInfo;
import com.lsh.airticket.entity.Airport;

/**
 * @author lsh
 * @date 2021/2/17
 **/
public interface AirportService {

    PageInfo<Airport> findAirport();

    //插入一条  机场信息
    int insertAirport(Airport airport);

    //根据 cityId查找
    PageInfo<Airport> finAirportByCityId(Integer cityId);

    // 删除机场
    int deleteAirportById(Integer airportId);
}
